﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace ASPGerant
{
    public partial class loading : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
         
        }

        public String adresse()
        {
            String adresse = Request.QueryString["adresse"];
            if(adresse==null || adresse.Equals(""))
            {
                adresse = "404.aspx";
            }
            return adresse;
        }

        public String adresseFull()
        {
            String add = adresse();
            if (add != null && add.Equals("gerant_2.aspx"))
            {
                add += "?N=" + Request.QueryString["N"];

            }
            return("<meta http-equiv=\"refresh\" content=\"0; URL="+add+"\">");
        }
    }
}
